//
//  EmotionAttachment.m
//  Weibo
//
//  Created by Anasue on 9/30/15.
//  Copyright © 2015 vvusu. All rights reserved.
//

#import "EmotionAttachment.h"
#import "Emotion.h"
@implementation EmotionAttachment

- (void)setEmotion:(Emotion *)emotion
{
    _emotion = emotion;
    self.image = [UIImage imageWithName:[NSString stringWithFormat:@"%@/%@",emotion.directory,emotion.png]];

}

@end
